package com.yyysj.common.security.exception;

import com.yyysj.common.core.enums.ResultCode;
import lombok.Data;

@Data
public class ServiceException extends RuntimeException {

    private ResultCode resultCode;

    public ServiceException(ResultCode resultCode) {
        this.resultCode = resultCode;
    }
}
